/*
 * @Description:
 * @Version: 2.0
 * @Autor: wangmiao
 * @Date: 2022-07-26 10:49:42
 * @LastEditors: wangmiao
 * @LastEditTime: 2022-09-16 15:51:27
 */
import { RouteRecordRaw } from "vue-router";
import { routerPath } from "@/constants/routes";

export const routes: RouteRecordRaw[] = [
  {
    path: "/",
    redirect: routerPath.home,
  },
  {
    path: routerPath.home,
    name: "Home",
    component: () => import("@/pages/Home/index.vue"), // 注意这里要带上 文件后缀.vue
  }
];
